Trigger onload event after the display has been done.