Coordinate scaling in MainForm