Fixed issue with non 640x480 pictures