Solved a bug with the markers sub-directive