Added zoom value validation and offset compensation on limits