Fixed how darwin handles focus