Draw them in Paint Method and it would be fine when dialog is dragged.