Fix Entity redraw bug
Minified version