Fixes graphic emulation error