Frame Buffer now working properly