Prevent pan when drawing
Disable zoom button on empty page