Update developer drawbitmap to accept any index