Removed R2014b bugs in vertical- and horizontalMarker