mesh not locking to frame bug fix