Fixed some emulator x11grab capture problems