Fixed the zoom and resize