Tweak angle to avoid overflow, and prevent scroll on focus