now keeping tooltip on stage horizontally and vertically
fixed null pointer error