Fixed incorrect rotation