Prettified the marking rect