Graphics fixes

fixed rotation to work correctly