Fix NullPointerException when there are not zoom limits