fix painting scaling while rotation

Next move — buttons to center