fixed diagonal rotation and mirroring
fixed history for resize and changing player maximum