bugfix about Class._inherited
bugfix about Entity#alignTopOf