Fix positioning not defined error