fixed geometry scaling issues