Method and system for displaying a virtual object