Fix image zoom and rendering