Fix ResourceObject anchor point generation
Fix the reference angle too