Optimisation: removed debug code, fixed sprite collision to use the correct image width/height