A better fix for marker layout issues.