Rectangle not picking up divided lines point