Fixed a small bug on indicator drawing