updated camera's scale_and_clamp()