Prevent loosing focus on tab