Hax for repainting