Added sprite layer and graphics context to GameObj