fixed a issue with tilenew not working properly in video mode.