Added Paint event to make the painting happen in the panelTextureCollector

Signed-off-by: Johan Fredriksson <johanfredriksson1987@gmail.com>