FINALLY FIXED THE OFF CENTRE PROBLEM