Modify MazeView to accept size parameters and fixed offset calculations.
Remove unnecessary imports.