corrected zoom calcs in .rs