Minor change: central image clipping code made slightly more clean