Fixed Entity draw code.