Made markers unable to be placed outside borders