quick fix for overrunning canvas size