Fix anchor not set if alignToAnchor is false, closes telerik/kendo-ui-core#178. Add a test.