Fixed alt-tabbing bug