Battery doesn’t fit right

Just got a new battery for this and it doesn’t fit flush. Am I somehow doing this wrong? Or is this just typical of not original batteries?