From bitmap - fixes change direction issues.