Fixed bug with property lookup inside mixin block. Closes #1645