Fixed bug in __lshift__ operator of Layout