drawpreview draws on the right layer