Schmerzmittel found a bug. After exporting a level, the angles of an entity are wrong if it was rotated by more than 2 directions.