fixed rotation issue with planes