House variations don't rotate properly

When you try to rotate houses by pushing them against other buildings they don’t actually rotate. The ghost shows it rotated but once it starts being built every variation is locked to one angle.