Reverted a change that allows texture to be packed if their size is valid on just one axis but the texture does not fit in the last atlas texture. Result is an infitite loop always writing the the last atlas texture over and over again.

Reproducible with Black Glass Nova HD.

The bug can still be triggered, but with reverting this change it is less unlikely. As the texture atlas is scheduled for removal, the actual bug in the algorithm will not be fixed.