Fixed null pointer exception in the Area system.