Removed unnecessary conditionnals

Hello, I was reviewing your code to see if I could update it (I want to be able to keep a whole image in a given cropbox and add "black lines" around image to fill the blank) and I've just changed this part, which seems unnecessary to me. Thanks for your job !