I call invalidate in the form and in the panel but then nothing is being painted