Corrected pointer bug in marker windows