Refine axis boundary settings to fix bugs in drag selection