Add focus and mouse buttons events