Temporarily disables automatic image resizing.