Fixed: Cannot use img function in popoutted chatroom