Fixed bugs with video emulator and redrawing of draggable