finally fixed rotation bug

There’s probably easier ways to do this. Seems like I’m doing too much
unnecessary math.