Fixes the zoom not resizing activities smoothly