Avoid repainting actions on render