fix fullWindow mode in firefox